package org.feng.resource;

import java.io.InputStream;

/**
 * @author 冯帅
 * @des TODO
 * @date 2021/11/30 15:49
 * @email 15612509687@163.com
 */
public interface ResourceUpload {
    /**
     * 创建bucket
     */
    void createBucket(String name);

    /**
     * 删除bucket
     */
    void deleteBucket(String name);

    /**
     * 上传文件
     */
    String putFile(InputStream stream, String fileName, Boolean override);

}
